package GUI.SalesEmployee;

import javax.swing.JPanel;
import javax.swing.JButton;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class ContactClientPnl extends JPanel {

	public JButton btnSetOrder;
	public ContactClientPnl() {
		setLayout(null);
		
		JButton btnSetOrder = new JButton("Set order");
		btnSetOrder.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnSetOrder.setBounds(10, 28, 113, 34);
		add(btnSetOrder);

	}
	
	public void addController(ActionListener controller){
		System.out.print("Contact Client->Add controller");
		btnSetOrder.addActionListener(controller);
	}
}
